<?php if(!defined('HDPHP_PATH'))exit;C('SHOW_NOTICE',FALSE);?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
    <meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/>
    <title>备份管理</title>
   <link rel="stylesheet" type="text/css" href="http://127.0.0.1/mogujie/Static/hdjs/hdjs.css"/>
</head>
<body>
<div class="wrap">
	<form action="<?php echo U('recovery');?>" method="post">
    <table class="hd-table hd-table-list">
        <thead>
        <tr>
            <td width="150">备份时间</td>
            <td>备份目录</td>
            <td width="100">选择</td>
        </tr>
        </thead>
        <tbody>
        	<?php foreach ($dirs as $k=>$v){?>
	    	   	<tr>
	                <td width="50"><?php echo date('Y-m-d H:i:s',$v['filemtime']);?></td>
	                <td><?php echo $v['spath'];?></td>
	                <td width="100"><input type="radio" name="dir" value="<?php echo $v['spath'];?>" checked/></td>
	            </tr>
             <?php }?>
        </tbody>
    </table>
    <div style="margin-top:20px;margin-left:20px;">
    <input type="submit" value="还原" class="hd-btn hd-btn-primary"/>
    </div>
    </form>
</div>

</body>
</html>